<template>
  <div class="logreg">
    <div class="logreg__icon">
      <i class="iconfont iconwangyiyun"></i>
    </div>
    <div class="logreg__btn">
      <div class="logreg__phone" @click='phone'>手机号登入</div>
      <div class="logreg__phone" @click='login'>注册</div>
    </div>
    <div class="logreg_qq">
      <p>其他登入方式</p>
      <div class="logreg_iconfont">
        <div>
          <i class="iconfont iconweixin"></i>
          <span>微信</span>
        </div>
        <div>
          <i class="iconfont iconQQ"></i>
          <span>QQ</span>
        </div>
        <div>
          <i class="iconfont iconweibo-"></i>
          <span>新浪微博</span>
        </div>
        <div>
          <i class="iconfont iconwangyiyouxiangzhanghao"></i>
          <span>网易邮箱</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'logreg',
  methods: {
    phone () {
      this.$router.push('/loginregistered/registered')
    },
    login () {
      this.$router.push('/loginregistered/login')
    }
  }
}
</script>

<style lang="scss">
html,
body {
  width: 100%;
  height: 100%;
}
.logreg {
  width: 100%;
  height: 100%;
  margin-top: 43.5px;

  .logreg__icon {
    width: 75px;
    height: 75px;
    margin: 0 auto;
    .iconfont {
      font-size: 73px;
      color: #e20000;
    }
  }
  .logreg__btn{
    margin-top: 45px;

    .logreg__phone{
        width:318px;
        height: 37.5px;
        border:1px solid #eebaba;
        border-radius: 18.5px;
        text-align:center;
        line-height: 37.5px;
        color: #eebaba;
        margin: 0 auto;
        margin-bottom: 15px;
      }
  }
  .logreg_qq{
    margin-top: 285px;
    p{
      text-align: center;
      font-size: 12px;
      margin-bottom: 18px;
    }
    .logreg_iconfont{
      display: flex;
      width: 240px;
      margin: 0 auto;
      justify-content: space-between;
      div{
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        span{
          font-size: 12px;
        }
        .iconfont{
          font-size: 33px;
        }
        .iconweixin{
          color: #67b633;
        }
        .iconQQ{
          color: #34a0df;
          font-size: 30px;
        }
        .iconweibo-{
          color: #ea4848;
        }
        .iconwangyiyouxiangzhanghao{
          color: #ea4848;
          font-size: 28px;
        }
      }
    }
  }
}
</style>
